Microchip Technology /ATSAMS70J20 /AFEC0 /MR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DIS)TRGEN 0 (AFEC_TRIG0)TRGSEL 0 (NORMAL)SLEEP 0 (OFF)FWUP 0 (OFF)FREERUN 0PRESCAL0 (SUT0)STARTUP0 (ONE)ONE 0TRACKTIM 0TRANSFER 0 (NUM_ORDER)USEQ

STARTUP=SUT0, FWUP=OFF, USEQ=NUM_ORDER, FREERUN=OFF, SLEEP=NORMAL, TRGSEL=AFEC_TRIG0, TRGEN=DIS

Description

AFEC Mode Register

Fields

TRGEN

Trigger Enable

0 (DIS): Hardware triggers are disabled. Starting a conversion is only possible by software.

1 (EN): Hardware trigger selected by TRGSEL field is enabled.

TRGSEL

Trigger Selection

0 (AFEC_TRIG0): AFE0_ADTRG for AFEC0 / AFE1_ADTRG for AFEC1

1 (AFEC_TRIG1): TIOA Output of the Timer Counter Channel 0 for AFEC0/TIOA Output of the Timer Counter Channel 3 for AFEC1

2 (AFEC_TRIG2): TIOA Output of the Timer Counter Channel 1 for AFEC0/TIOA Output of the Timer Counter Channel 4 for AFEC1

3 (AFEC_TRIG3): TIOA Output of the Timer Counter Channel 2 for AFEC0/TIOA Output of the Timer Counter Channel 5 for AFEC1

4 (AFEC_TRIG4): PWM0 event line 0 for AFEC0 / PWM1 event line 0 for AFEC1

5 (AFEC_TRIG5): PWM0 event line 1 for AFEC0 / PWM1 event line 1 for AFEC1

6 (AFEC_TRIG6): Analog Comparator

SLEEP

Sleep Mode

0 (NORMAL): Normal mode: The AFE and reference voltage circuitry are kept ON between conversions.

1 (SLEEP): Sleep mode: The AFE and reference voltage circuitry are OFF between conversions.

FWUP

Fast Wake-up

0 (OFF): Normal Sleep mode: The sleep mode is defined by the SLEEP bit.

1 (ON): Fast wake-up Sleep mode: The voltage reference is ON between conversions and AFE is OFF.

FREERUN

Free Run Mode

0 (OFF): Normal mode

1 (ON): Free Run mode: Never wait for any trigger.

PRESCAL

Prescaler Rate Selection

STARTUP

Start-up Time

0 (SUT0): 0 periods of AFE clock

1 (SUT8): 8 periods of AFE clock

2 (SUT16): 16 periods of AFE clock

3 (SUT24): 24 periods of AFE clock

4 (SUT64): 64 periods of AFE clock

5 (SUT80): 80 periods of AFE clock

6 (SUT96): 96 periods of AFE clock

7 (SUT112): 112 periods of AFE clock

8 (SUT512): 512 periods of AFE clock

9 (SUT576): 576 periods of AFE clock

10 (SUT640): 640 periods of AFE clock

11 (SUT704): 704 periods of AFE clock

12 (SUT768): 768 periods of AFE clock

13 (SUT832): 832 periods of AFE clock

14 (SUT896): 896 periods of AFE clock

15 (SUT960): 960 periods of AFE clock

ONE

One

TRACKTIM

Tracking Time

TRANSFER

Transfer Period

USEQ

User Sequence Enable

0 (NUM_ORDER): Normal mode: The controller converts channels in a simple numeric order.

1 (REG_ORDER): User Sequence mode: The sequence respects what is defined in AFEC_SEQ1R and AFEC_SEQ1R.

Links

()